
package vip.xiaonuo.biz.modular.lancerGoodskill.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 秒杀编辑参数
 *
 * @author Lancer
 * @date  2024/03/03 17:01
 **/
@Getter
@Setter
public class BizGoodsKillEditParam {

    /** ID */
    @ApiModelProperty(value = "ID", required = true, position = 1)
    @NotBlank(message = "id不能为空")
    private String id;
    /** 商品盒子id */
    @ApiModelProperty(value = "商品id", position = 3)
    private String goodsId;
    /** 商品盒子id */
    @ApiModelProperty(value = "商品盒子id", position = 3)
    private String goodsBoxId;

    /** 秒杀开始时间 */
    @ApiModelProperty(value = "秒杀开始时间", position = 6)
    private Date killStartTime;

    /** 秒杀结束时间 */
    @ApiModelProperty(value = "秒杀结束时间", position = 7)
    private Date killEndTime;

    /** 秒杀原始库存 */
    @ApiModelProperty(value = "秒杀原始库存", position = 8)
    private Integer originKillStock;

    /** 秒杀当前库存 */
    @ApiModelProperty(value = "秒杀当前库存", position = 9)
    private Integer originCurrStock;

}
